package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 班级信息（含信息管理功能）对象 clazz
 * 
 * @author ruoyi
 * @date 2025-08-23
 */
public class Clazz extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 班级ID */
    private Long classId;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String className;

    /** 专业ID */
    @Excel(name = "专业ID")
    private Long majorId;

    /** 专业名称 */
    @Excel(name = "专业名称")
    private String majorName;

    /** 导员姓名 */
    @Excel(name = "导员姓名")
    private String instructorName;

    /** 班主任姓名 */
    @Excel(name = "班主任姓名")
    private String headTeacherName;

    /** 学生数量 */
    @Excel(name = "学生数量")
    private Long studentScale;

    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }

    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }

    public void setMajorId(Long majorId) 
    {
        this.majorId = majorId;
    }

    public Long getMajorId() 
    {
        return majorId;
    }

    public void setMajorName(String majorName) 
    {
        this.majorName = majorName;
    }

    public String getMajorName() 
    {
        return majorName;
    }

    public void setInstructorName(String instructorName) 
    {
        this.instructorName = instructorName;
    }

    public String getInstructorName() 
    {
        return instructorName;
    }

    public void setHeadTeacherName(String headTeacherName) 
    {
        this.headTeacherName = headTeacherName;
    }

    public String getHeadTeacherName() 
    {
        return headTeacherName;
    }

    public void setStudentScale(Long studentScale) 
    {
        this.studentScale = studentScale;
    }

    public Long getStudentScale() 
    {
        return studentScale;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("classId", getClassId())
            .append("className", getClassName())
            .append("majorId", getMajorId())
            .append("majorName", getMajorName())
            .append("instructorName", getInstructorName())
            .append("headTeacherName", getHeadTeacherName())
            .append("studentScale", getStudentScale())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
